#!/bin/sh
set -e

echo "coping----"
cp /home/huangtk/Code/Dayu_v3.2_Beta3/out/rk3568/packages/phone/images/vendor.img target/
cp /home/huangtk/Code/Dayu_v3.2_Beta3/out/rk3568/packages/phone/images/system.img target/
cp /home/huangtk/Code/Dayu_v3.2_Beta3/out/rk3568/updater/updater/updater_binary  target

echo "packing----"
python build_update.py ./target/ ./target/package -pk ./target/updater_config/rsa_private_key2048.pem
